
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/jscss/admin">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">菜单管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="/jscss/admin/design/index" method="post">
                    <table class="search-tab">
                        <tr>
                            <th width="120">选择分类:</th>
                            <td>
                                <select name="search-sort" id="">
                                    <option value="">全部</option>
                                    <option value="19">精品界面</option><option value="20">推荐界面</option>
                                </select>
                            </td>
                            <th width="70">关键字:</th>
                            <td><input class="common-text" placeholder="关键字" name="keywords" value="" id="" type="text"></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                       
                        <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量删除</a>
                        <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>更新排序</a>
                        <a href="{:U('admin/goods/goodsadd')}"><i class="icon-font"></i>继续添加商品</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">

                        <tr>   
                            <th>ID</th>
                                                 
                            <th>商品名称</th>                           
                            <th>商品价格</th>
                            <th>商品图片</th>
                            <th>商品介绍</th>    
                            <th>商品状态</th>
                        </tr>
        <foreach name="lists" item="c">
                        <tr>    
                            <td>{$c.gid}</td>
                                                  
                            <td>{$c.goods_name}</td>                           
                            <td>{$c.goods_price}</td>
                            <td><img src="{$c.goods_small_img|substr=###,1}" alt=""> </td>
                            <td>{$c.intro}</td> 

                            <if condition="$c['status'] eq 0">
                            <td>上线 </td>
                            <else />
                            <td>下线 </td>
                            </if>   
                             <!-- <select>
                                <option name="status" value="1">上线 </option>
                                <option name="status" value="0">下线 </option>
                                
                            </select> -->
                        </tr>
        </foreach>
      </table>
                    <div class="list-page"> 总计 <b>{$count}</b>  个记录  {$page}</div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>